#!/usr/bin/python
# -*- coding: utf-8 -*-
# Author: MK2[fengmk2@gmail.com]
"""docstrings
"""

from django.db import models

# Create your models here.

class Product(models.Model):
    """"""
    name = models.CharField('商品名称', max_length=300, db_index=True)
    category = models.CharField()
    purchase_price = models.DecimalField('进货价')
    retail_price  = models.DecimalField('零售价')
    description = models.TextField()
    quantity = models.IntegerField('货存数量')